package com.cqjtu.eecs.entity.params.major;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

@Data
@ToString
@EqualsAndHashCode
public class MajorUpdateParams {
    @NotBlank(message="专业代码不可为空")
    @Size(max = 6,min = 6)
    @ApiModelProperty(value = "专业代码")
    private String majorCode;
    @Size(max = 4,min = 4)
    @NotBlank(message="学院ID不可为空")
    @ApiModelProperty(value = "学院ID")
    private String academyId;
    @ApiModelProperty(value = "专业名")
    private String majorName;
    @ApiModelProperty(value = "专业简介")
    private String majorBrief;
    @ApiModelProperty(value = "专业负责人")
    private String majorManager;
    @ApiModelProperty(value = "教职工工号")
    private String teacherCode;
}
